package module.service.impl;

import module.dao.SysResourceDao;
import module.model.SysResourceModel;
import module.service.SysResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class SysResourceServiceImpl implements SysResourceService {

    @Autowired
    SysResourceDao sysResourceDao;

    @Transactional
    public List<SysResourceModel> findAll() {
        return sysResourceDao.findAll();
    }
}
